package com.atguigu.boot.bean;

import lombok.Data;

/**
 * @author : leimingchao
 * @date Date : 2021年11月03日 23:11
 */
@Data
public class User {

    private String name;

    private Integer age;

    private Pet pet;

    public User() {
    }

    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public User(String name, Integer age, Pet pet) {
        this.name = name;
        this.age = age;
        this.pet = pet;
    }
}
